package sms.ui.kecheng;

import sms.dao.KeChengDao;
import sms.entry.KeCheng;
import sms.ui.KeChenGuanLi;

import java.util.Scanner;

public class KeChengFind {
    private static KeChengDao keChengDao = new KeChengDao();
    static Scanner sc = new Scanner(System.in);
    public static void show(){
        System.out.println("请输入要查询的课程：");
        String km = sc.next();
        KeCheng keCheng = new KeCheng(km);
        keChengDao.find(keCheng);
        //返回课程管理界面
        KeChenGuanLi.show();



    }
}
